package heven.holt.wan.android.viewmodel

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import dagger.hilt.android.lifecycle.HiltViewModel
import heven.holt.wan.android.repository.WanQaRepository
import javax.inject.Inject

@HiltViewModel
class QAQuizViewModel @Inject constructor(
    wanQaRepository: WanQaRepository
) : ViewModel() {
    val flow = wanQaRepository.getQaQuizeArticleList().cachedIn(viewModelScope)
}